Renesas Electronics /R7FA6M1AD /SDHI0 /SD_CMD

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as SD_CMD

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0CMDIDX0 (others)ACMD 0 (others)RSPTP0 (0)CMDTP 0 (0)CMDRW 0 (0)TRSTP 0 (00)CMD12AT 0Reserved

CMDTP=0, TRSTP=0, CMD12AT=00, CMDRW=0, RSPTP=others, ACMD=others

Description

Command Type Register

Fields

CMDIDX

Command Index These bits specify Command Format[45:40] (command index). [Examples] CMD6: SD_CMD[7:0] = 8’b00_000110 CMD18: SD_CMD[7:0] = 8’b00_010010 ACMD13: SD_CMD[7:0] = 8’b01_001101

ACMD

Command Type Select

0 (00): CMD

0 (others): Setting prohibited

1 (01): ACMD

RSPTP

Mode/Response Type NOTE: As some commands cannot be used in normal mode, see section 1.4.10, Example of SD_CMD Register Setting to select mode/response type.

0 (000): Normal mode The response type and the transfer mode are selected by SD_CMD[7:0], and the SD_CMD[15:11] setting is disabled.

0 (others): Settings prohibited.

3 (011): Expansion mode and no response

4 (100): Expansion mode and R1, R5, R6, or R7 response

5 (101): Expansion mode and R1b response

6 (110): Expansion mode and R2 response

7 (111): Expansion mode and R3 or R4 response

CMDTP

Data Mode (Command Type)

0 (0): Command does not include data transfer (bc, bcr, or ac)

1 (1): Command includes data transfer (adtc)

CMDRW

Write/Read Mode (enabled when the command with data is handled)

0 (0): Write (SD/MMC host interface -> SD card/MMC)

1 (1): Read (SD/MMC host interface <- SD card/MMC)

TRSTP

Single/Multiple Block Transfer (enabled when the command with data is handled)

0 (0): Single block transfer

1 (1): Multiple block transfer

CMD12AT

Multiple Block Transfer Mode (enabled at multiple block transfer)

0 (00): CMD12 is automatically issued at multiple block transfer.

1 (01): CMD12 is not automatically issued at multiple block transfer.

2 (10): Setting prohibited

3 (11): Setting prohibited

Reserved

These bits are read as 0000000000000000. The write value should be 0000000000000000.

Links

()